package com.ruoyi.teacher.service.impl;

import com.ruoyi.teacher.api.domain.Campus;
import com.ruoyi.teacher.api.domain.Subject;
import com.ruoyi.teacher.mapper.TeacherMapper;
import com.ruoyi.teacher.service.CampusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CampusServiceImpl implements CampusService {
    @Autowired
    private TeacherMapper teacherMapper;
    @Override
    public List<Campus> loadCampus() {
        return teacherMapper.loadCampus();
    }

    @Override
    public List<Subject> loadSubjects() {
        return teacherMapper.loadSubjects();
    }
}
